package net.sddf.system.bank.common.constant;

/**
 * <P>
 * 借款状态枚举类
 * </p>
 */
public enum BorrowRecordStatus {

    /**
     * 借款人新建借款状态
     */
    READY("COLLECTING", "数据已同步"),

    /**
     * 投资人完成投资状态为: 已放款
     */
    FULLY("FULLY", "已放款"),

    /**
     * 借款人已开始还款状态为: 还款中
     */
    REPAYMENT("REPAYING", "还款中");


    private String code;
    private String desc;

    BorrowRecordStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
